package cn.caijiapeng.spt.validate;

import com.jfinal.core.Controller;

import cn.caijiapeng.spt.validate.base.BaseValidate;

public class LoginValidate extends BaseValidate{

	@Override
	protected void validate(Controller c) {
		validateRequired("username", "msg", "用户名不能为空");
		validateRequired("password", "msg", "密码不能为空");
		validateCaptcha("captcha", "msg", "验证码有误");
		
	}

}
